package com.wang.cloud.manage.domain.co;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;


/**
 * @author wangye
 * @date 2023/8/15 0015
 */
@Getter
@Setter
@Schema(description = "根据Long类型id操作对象")
public class IdCo {

    @Schema(description = "业务的id", required = true)
    @NotNull(message = "id不能为空")
    private Long id;
}
